home *** CD-ROM | disk | FTP | other *** search
/ Champak 141 / (Vol 141) Oct 17 2011.iso / Games / flight-of-the-museum.swf / scripts / com / google / analytics / debug / SuccessAlert.as < prev    next >
Encoding:
Text File  |  2011-10-17  |  733 b   |  23 lines

  1. package com.google.analytics.debug
  2. {
  3.    public class SuccessAlert extends Alert
  4.    {
  5.        
  6.       
  7.       public function SuccessAlert(debug:DebugConfiguration, text:String, actions:Array)
  8.       {
  9.          var alignement:Align = Align.bottomLeft;
  10.          var stickToEdge:Boolean = true;
  11.          var actionOnNextLine:Boolean = false;
  12.          if(debug.verbose)
  13.          {
  14.             text = "<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18) + "</u>\n\n" + text;
  15.             alignement = Align.center;
  16.             stickToEdge = false;
  17.             actionOnNextLine = true;
  18.          }
  19.          super(text,actions,"uiSuccess",Style.successColor,alignement,stickToEdge,actionOnNextLine);
  20.       }
  21.    }
  22. }
  23.